I'm trying to call removeObserver() when the app quits. But when I used NSLog() to check, I found neither viewWillDisappear() nor viewDidDisappear() was called after the app quit in iOS simulator. I'm using a single view template, not navigation controller in similar questions.
Why viewWillDisappear or viewDidDisappear not called when app quit in iOS simulator?
2198
20-Apr-2015
Jayden Bell
20-Apr-2015These two methods will not be called when you quit the app. Instead, the method you can use observer